#include "DefaultConfigDialog.hpp"
#include <iostream>
using namespace std;



DefaultConfigDialog:: DefaultConfigDialog ()
{
    result.export_scene_enabled       = true;
    result.export_ambient_enabled     = true;
    result.export_directional_enabled = true;
    result.export_camera_enabled      = true;
    result.export_model_enabled       = false;
    result.file_compress_enabled      = true;
    result.file_log_enabled           = true;
    result.scene_scale                = 1;
    result.scene_near                 = 1;
    result.scene_far                  = 1000;
    result.accepted                   = true;

}

DefaultConfigDialog:: ~DefaultConfigDialog ()
{
}


bool DefaultConfigDialog:: run ()
{
    return true;
}


bool DefaultConfigDialog:: getExportSceneEnalbed () const
{
    return result.export_scene_enabled;
}

bool DefaultConfigDialog:: getExportAmbientLightEnabled () const
{
    return result.export_ambient_enabled;
}

bool DefaultConfigDialog:: getExportDirectionalLightEnalbed () const
{
    return result.export_directional_enabled;
}

bool DefaultConfigDialog:: getExportCameraEnalbed () const
{
    return result.export_camera_enabled;
}

bool DefaultConfigDialog:: getExportModelEnalbed () const
{
    return result.export_model_enabled;
}

bool DefaultConfigDialog:: getFileCompressEnabled () const
{
    return result.file_compress_enabled;
}

bool DefaultConfigDialog:: getFileLogEnabled () const
{
    return result.file_log_enabled;
}

float DefaultConfigDialog:: getSceneScaleFactor () const
{
    return result.scene_scale;
}

float DefaultConfigDialog:: getSceneClippingNear () const
{
    return result.scene_near;
}

float DefaultConfigDialog:: getSceneClippingFar () const
{
    return result.scene_far;
}

bool DefaultConfigDialog:: getAccepted () const
{
    return result.accepted;
}
